import time

import akshare as ak

# 港股指数数据 实时 东财
# https://quote.eastmoney.com/center/gridlist.html#hk_index
df = ak.stock_hk_index_spot_em()
date = time.strftime("%Y%m%d", time.localtime())
df.to_excel(f"港股指数-{date}.xlsx", index=False)

